A Hybrid Coverage Criterion for DynamicWeb Testing (S)
نویسندگان
چکیده
Testing criterion is a fundamental topic of software testing. A criterion is important to evaluate and drive a testing method. Code coverage is widely used in software testing, due to its simple implementation and effectiveness. Dynamic web techniques have been used to improve the usability and user experience of applications. However, it brings some new challenges for testing. Dynamic web applications have richer iterations between client-side and server-side, such that code coverage is difficult to capture these complex iterations for sufficient testing. In this paper, we present a novel coverage criterion hybrid coverage. A hybrid coverage criterion which combines statement coverage and HTML element coverage, covers both client-side and server-side features. The experimental result shows that the hybrid coverage can detect 22.2%48.1% more bugs than statement coverage, 7.9%-57.1% more bugs than element coverage. Keyword: Dynamic Web, Coverage Criteria, Web Crawler, Test Case Prioritization
منابع مشابه
Hybrid Particle Swarm Optimization for Regression Testing
Regression Testing ensures that any enhancement made to software will not affect specified functionality of software. The execution of all test cases can be long and complex to run; this makes it a costlier process. The prioritization of test cases can help in reduction in cost of regression testing, as it is inefficient to rerun each and every test case. In this research paper, the criterion c...
متن کاملApplicability of modified condition/decision coverage to software testing
Modified condition/decision coverage is a structural coverage criterion requiring that each condition within a decision is shown by execution to independently and correctly affect the outcome of the decision. This criterion was developed to help meet the need for extensive testing of complex Boolean expressions in safety-critical applications. The paper describes the modified condition/decision...
متن کاملModel Checking for Generation of Test Suites in Software Unit Testing
Model checking is a technique for exhaustively searching the model’s state space for possible errors. Testing is a common method for enhancing the quality of a software product by checking for errors in program executions sampled according to some criterion called coverage criterion. Testing is a costly process especially if it is not supported by an appropriate method (and tool) for generating...
متن کاملReinforced Condition/Decision Coverage (RC/DC): A New Criterion for Software Testing
A new Reinforced Condition/Decision Coverage (RC/DC) criterion for software testing is proposed. This criterion provides further development of the well-known Modified Condition/Decision Coverage (MC/DC) criterion and is more suitable for testing of safety-critical software. Formal definitions in the Z notation for RC/DC, as well as MC/DC, are presented. Specific examples of using of these crit...
متن کاملTolerance of Control-Flow Testing Criteria
Effectiveness of testing criteria is the ability to detect failure in a software program. We consider not only effectiveness of some testing criterion in itself but a variance of effectiveness of different test sets satisfied the same testing criterion. We name this property "tolerance" of a testing criterion and show that, for practical using a criterion, a high tolerance is as well important ...
متن کامل